package Test;


import com.surekam.library.view.core.IFunctionalUnit;
import com.surekam.library.view.core.exception.PermissionVerifyFaildException;

public class FunctionUnitTemp implements IFunctionalUnit {

	private String displayName ;
	private String description ;
	private String keyValue;
	
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public void destroy() {

	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public String getDisplayName() {
		return displayName;
	}

	@Override
	public String getKeyValue() {
		return keyValue;
	}

	@Override
	public void init() {
		// TODO Auto-generated method stub

	}

	@Override
	public void run() throws PermissionVerifyFaildException {
		System.out.println(displayName);
	}

	@Override
	public boolean verifyPermission() {
			 return false ;
	}

	public void setKeyValue(String keyValue) {
		this.keyValue = keyValue;
	}

}
